﻿CREATE TABLE [dbo].[OrdonantariNC] (
    [IDOrdonantare] INT    NOT NULL,
    [IDDocument]    BIGINT NOT NULL,
    CONSTRAINT [PK_OrdonantariNC] PRIMARY KEY CLUSTERED ([IDOrdonantare] ASC, [IDDocument] ASC),
    CONSTRAINT [FK_OrdonantariNC_Ordonantari] FOREIGN KEY ([IDOrdonantare]) REFERENCES [dbo].[Ordonantari] ([IdOrdonantare]),
    CONSTRAINT [FK_OrdonantariNC_RulajeDoc] FOREIGN KEY ([IDDocument]) REFERENCES [dbo].[RulajeDoc] ([IDDocument])
);

